.repair-request-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
  
  .page-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    
    i {
      margin-right: 0.5rem;
      color: #ffd700;
    }
  }
  
  .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
  }
}

.user-info-card {
  .card {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    
    .card-header {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      border-radius: 12px 12px 0 0;
      border: none;
      
      h6 {
        font-weight: 600;
        
        i {
          margin-right: 0.5rem;
        }
      }
    }
    
    .card-body {
      padding: 1.5rem;
      
      .row {
        margin-bottom: 1rem;
        
        > div {
          margin-bottom: 0.5rem;
        }
      }
      
      .badge {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
      }
      
      .role-switch {
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
        
        .btn-group {
          .btn {
            font-size: 0.8rem;
            padding: 0.25rem 0.75rem;
            
            &.active {
              background-color: var(--bs-primary);
              border-color: var(--bs-primary);
              color: white;
            }
          }
        }
      }
    }
  }
}

.repair-form-card {
  .card {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    
    .card-header {
      background: white;
      border-bottom: 2px solid #f8f9fa;
      border-radius: 12px 12px 0 0;
      padding: 1.5rem;
      
      h5 {
        color: #495057;
        font-weight: 600;
        margin: 0;
        
        i {
          margin-right: 0.5rem;
          color: #007bff;
        }
      }
    }
    
    .card-body {
      padding: 2rem;
    }
  }
}

.form-group {
  .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    
    i {
      margin-right: 0.5rem;
      color: #007bff;
    }
    
    .text-danger {
      font-weight: 600;
    }
  }
  
  .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    
    &:focus {
      border-color: #007bff;
      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    &::placeholder {
      color: #6c757d;
      font-style: italic;
    }
  }
  
  .form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }
}

.urgency-levels {
  .btn-group {
    width: 100%;
    
    .btn-check:checked + .btn {
      background-color: var(--bs-color);
      border-color: var(--bs-color);
      color: white;
    }
    
    .btn-outline-success {
      --bs-color: #198754;
    }
    
    .btn-outline-warning {
      --bs-color: #ffc107;
      color: #495057;
      
      &:hover {
        color: #495057;
      }
    }
    
    .btn-outline-danger {
      --bs-color: #dc3545;
    }
    
    .btn-outline-dark {
      --bs-color: #212529;
    }
    
    .btn {
      font-weight: 500;
      padding: 0.75rem 1rem;
      border-width: 2px;
      transition: all 0.2s ease;
      
      &:hover {
        transform: translateY(-1px);
      }
    }
  }
}

.form-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
  
  .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    
    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    i {
      margin-right: 0.5rem;
    }
    
    &:disabled {
      transform: none;
      box-shadow: none;
    }
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    
    &:hover:not(:disabled) {
      background: linear-gradient(135deg, #0056b3, #004085);
    }
  }
}

.help-info {
  .card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    
    .card-header {
      border-radius: 12px 12px 0 0;
      
      h6 {
        font-weight: 600;
        
        i {
          margin-right: 0.5rem;
        }
      }
    }
    
    .card-body {
      ul {
        li {
          margin-bottom: 0.5rem;
          line-height: 1.5;
          
          strong {
            color: #495057;
          }
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .repair-request-page {
    padding: 1rem 0;
  }
  
  .page-header {
    .page-title {
      font-size: 1.75rem;
    }
    
    .page-subtitle {
      font-size: 1rem;
    }
  }
  
  .repair-form-card .card {
    .card-body {
      padding: 1.5rem 1rem;
    }
  }
  
  .urgency-levels .btn-group {
    flex-direction: column;
    
    .btn {
      border-radius: 6px !important;
      margin-bottom: 0.5rem;
    }
  }
  
  .form-actions {
    .d-md-flex {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .btn {
      width: 100%;
    }
  }
} 